package com.mabaijing.id2;

import java.io.File;

public class Domo1 {
    public static void main(String[] args) {
        File file1 = new File("D:\\code_Java\\rocket_class_io\\" +
                "src\\com\\mabaijing\\id2\\aaa.txt");

        File file2 = new File("D:\\code_Java\\rocket_class_io\\" +
                "src\\com\\mabaijing\\id2\\bbb.txt");

        file1.renameTo(file2);
    }
}
